$(function() {
			var id = getParameter("supplierE.js", "id");
			var pageNO = getParameter("supplierE.js", "pageNO");

			var view = new $.grooveViewPre(id, "fcsupplier", "editfcsupplier",
					{
						submitMessage : "确定提交更新供应商名录信息",
						OKMessage : "已成功修改供应商名录信息",
						OKMesage : "",
						submitButtonID : "lgnbtn",
						formID : "formID",
						beforecall : function() {
							$("#lgnbtn").button().click(function() {
										return false;
									});

							$("#bakbtn").button().click(function() {
										history.back(-1);
									});
						},
						aftercall : function() {
							location.href = context + "/app/jquery.groovelist.jsp?querykey=fcsupplierlist&pageNO=" + pageNO;
						}
					})
		});
